#include<iostream>
#include<string>
using namespace std;


int main(){
	string s;
	int sum=0;
	cin>>s;
	string shuzi[10]={"ling","yi","er","san","si","wu","liu","qi","ba","jiu"};
	for(int i=0;i<s.length();i++){
		sum+=(s[i]-'0');
	}

	string num=to_string(sum);

	for(int i=0;i<num.length();i++){
		if(i==0){
			cout<<shuzi[num[i]-'0'];
		}
		else{
			cout<<" "<<shuzi[num[i]-'0'];
		}
	}


	return 0;


}